import layout from '@/layout'
export default {
  path: '/approval',
  component: layout,
  name: 'approval',
  children: [{
    path: '',
    name: 'approval',
    component: () => import('@/views/approval'),
    meta: {
      title: '审批',
      icon: 'tree-table'
    }
  },
  {
    path: '/approval/detail',
    component: () => import('@/views/approval/detail.vue'),
    hidden: true,
    meta: { title: '请假申请' }
  }
  ]
}
